﻿package biz;

import bean.*;

import java.util.HashMap;
import java.util.List;
import java.util.Stack;
public interface UserBiz {
    public  List<Integer> findUserByCompanyId(int CompanyId);
    public  List<Integer>  findAllCompanyId();
    public   void sendMessage(Company company);
    public  List<CompanyContext> reciveMessage(int companyId);
    public  List<Company> findAllMessage(int userId);
    void changeState(int contentId);
    void changeUser(int contentId);
    Integer timer(String liveBroadcastTime);
     UserInfo findAll();//锟矫碉拷锟矫伙拷锟斤拷锟斤拷息
    void  insertUser(UserInfo ui);
    List<CompanyInfo> findAllCompany();//锟矫碉拷锟斤拷锟叫的癸拷司锟斤拷息
    CompanyInfo findCompanyId(Integer companyId);//锟矫碉拷锟斤拷司锟斤拷锟斤拷钥
   ScoreInfo findAllScore(ScoreInfo si); //锟矫碉拷锟斤拷锟叫的成硷拷锟斤拷息
  StudygroupnumberInfo findStudygroupnumber(StudygroupnumberInfo si);//锟矫碉拷学锟斤拷锟斤拷
   List<CourseInfo> findAllCourse(CourseInfo ci);//锟矫碉拷一锟斤拷锟矫伙拷锟侥课筹拷锟斤拷息
  CourseInfo findAllCourseId(int courseId);  //得到一个课程的一些信息。
   Stack<TrainingItemBankInfo> findAllTrainingItemBankInfo(Integer examId);//锟矫碉拷锟斤拷锟叫碉拷锟斤拷锟�
   void InsertAnswer(AnswerCardInfo answerCardInfo);  //锟斤拷锟斤拷锟矫伙拷锟侥答案ｏ拷
  List<CourseUserList> findAllUserCourse(Integer usersId);//锟斤拷询锟斤拷锟斤拷 锟斤拷 锟轿筹拷
   ExamInfo findAllExam(Integer examId);  //锟矫碉拷锟斤拷锟叫的匡拷锟斤拷锟斤拷息

   
   String findPasswd(int usersId);
   void changePasswd(Integer usersId,String newpasswd);
   void  changeAvatarPath(Integer usersId,String newavatarPath);
   List<Integer> findstudyGroupNumber(int usersId);
   List<Integer> findcourseId(int studyGroupNumber);
   List<Integer> findexamId(int courseId);
   List<scoreInfo> findmassage(int examId);
   void setRank(rank rank);
   List<String> findstudyName(studyGroupNumber stn);
  List<String> findexamName(int examId);
   List<scoreInfo> findScore(int usersId);
}
